package com.forenow.demo.demo17;

public class Money {
    String name;

    public Money(String name, int sal, int total) {
        this.name = name;
        this.sal = sal;
        this.total = total;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    int sal;
    int total;

    public int getSal() {
        return sal;
    }

    public void setSal(int sal) {
        this.sal = sal;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }
}
